package buildings;

import java.util.ArrayList;

import units.AbstractUnit;
import units.UnitGroup;
import game.Costs;
import game.Earning;

public class Barracks extends AbstractBuilding {

	private static int _healthpoints = 200;
	private static int _defense = 15;
	private static Earning earnSetting = null;
	private static Costs costSetting = null;
	
	private ArrayList<AbstractUnit> unitsToBuild = new ArrayList<AbstractUnit>();
	
	public Barracks() {
		super(_healthpoints, _defense);
		if (costSetting == null) {
			costSetting = new Costs();
			costSetting.setLumberCost(75);
			costSetting.setStoneCost(50);
			costSetting.setFoodSupply(1);
			costSetting.setGoldSupply(1);
		}
		this.setCosts(costSetting);
	}

	@Override
	int getDefenseBonus() {
		return 0;
	}
	@Override
	int getHealthpointsBonus() {
		return 0;
	}
	@Override
	int getIncomeBonus() {
		return 0;
	}

	public ArrayList<AbstractUnit> getUnitsToBuild() {
		return unitsToBuild;
	}

	
}
